import request from '@/utils/request'

export function getCusList(data) {
  return request({
    url: 'open/payment',
    method: 'get',
    params: data
  })
}

// 详情
export function CusInfo1(id) {
  return request({
    url: 'open/payment/' + id,
    method: 'get',
  })
}

// 提交
export function updateItem1(id, data) {
  return request({
    url: 'open/payment/' + id,
    method: 'put',
    data,
    msg: true
  })
}

// 账户升级-入金
export function accountUp1(id,data){
  return request({
    url: 'open/payment/upgrade/' + id,
    method: 'put',
    data,
    msg: true
  })
}